/*
 *  ConstantWaveTable.h
 *  SoundController0002
 *
 *  Created by jiro on 10/07/05.
 *  Copyright 2010 jiro music. All rights reserved.
 *
 */

#pragma once

#include "WaveTable.h"

namespace sc 
{
	class ConstantWaveTable : public WaveTable
	{
	public:
	
		ConstantWaveTable( double value )
			: WaveTable( WaveTable::Type_Constant, value, 1.0 )
		{}

		double operator [] ( double time ) const 
		{
			return WaveTable::frequency;
		}

	};
}
